﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace SLARToolKitWinPhoneSample
{
    public partial class M_bmi_bmr_result : PhoneApplicationPage
    {
        public M_bmi_bmr_result()
        {
            InitializeComponent();
        }
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            string msg = "";


            if (NavigationContext.QueryString.TryGetValue("msg", out msg))

                display_box.Text = msg;
            

        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.NavigationService.Navigate(new Uri("/glossary.xaml", UriKind.Relative));
        }
    }
}